﻿using MVCSecurity.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MVCSecurity.Controllers
{
    public class UserInRoleController : Controller
    {
        ApplicationDbContext db = new ApplicationDbContext();
        //
        // GET: /UserInRole/
        public ActionResult Index()
        {
            ViewBag.Roles = db.Roles;
            ViewBag.Users = db.Users;
            return View();
        }
	}
}